
            using System;
            using System.Collections.Generic;
            using System.Linq;
            using System.Text;
            using BusinessObject;
            using DataAccessLayer;

            namespace BusinessLogic
            {
                   /// <summary>
                    /// Define SubCategory_TransUtil class. This class user for BussinessLayer.
    
                /// </summary>
              public class SubCategory_TransUtil {
                    /// <summary>
                    /// Define function Insert for SubCategory_Trans Object.
                    /// </summary>
                    /// <param name="t">object data need Insert.</param>
                    /// <returns>
                    ///    True: if insert successfull.
                    ///    False: if insert error.
                    ///</returns>
                    public static bool Insert(SubCategory_Trans t)
                    {
                        
                      return SubCategory_TransDao.Insert(t);
                    }
                    /// <summary>
                    /// Define function Update for SubCategory_Trans Object.
                    /// </summary>
                    /// <param name="t">project data need updated.</param>
                    /// <returns>
                    ///    True: if update successful.
                    ///    False: if update Error.
                    ///</returns>
                    public static bool Update( SubCategory_Trans t )
                    {
                        
                      return SubCategory_TransDao.Update( t );
                    }
                    /// <summary>
                    /// Get All SubCategory_Trans object from table SubCategory_Trans.
                    /// </summary>
                    /// <returns>List SubCategory_Trans object.</returns>
                    public static List<SubCategory_Trans> GetAll()
                    {     
                        return SubCategory_TransDao.GetAll();
                    }
/// <summary>
/// Get a SubCategory_Trans data object by primary key. 
/// </summary>
/// <param name="subCategoryId" >This is primary key.</param>
/// <param name="languageId" >This is primary key.</param>
/// <returns>A SubCategory_Trans object.</returns>

                    public static SubCategory_Trans Get(int subCategoryId,string languageId)
                    {
                      return SubCategory_TransDao.Get(subCategoryId,languageId);
                    }
/// <summary>
/// This function to Delete SubCategory_Trans object by primary key.
/// </summary>
/// <param name="subCategoryId" >This is primary key.</param>
/// <param name="languageId" >This is primary key.</param>
/// <returns>If succesful return True else  return False.</returns>

                    public static bool Delete(int subCategoryId,string languageId)
                    {
                         
                      return SubCategory_TransDao.Delete(subCategoryId,languageId);
                    }} }